//
// Created by xunx on 2018/12/8.
//

#ifndef GOWILD_SHADER_H
#define GOWILD_SHADER_H

#include "Gowild.h"

class Shader {
public:

    void Use();

    unsigned int GetShaderID();

    void Compile(const char* vertexPath, const char* fragmentPath);

    void SetMatrix4(const GLchar* name, const glm::mat4& matrix, GLboolean useShader = false);

private:
    unsigned int shaderID;
};


#endif //GOWILD_SHADER_H
